{:W('Template/top')}
<div class="wrapper clearfix content" style="border: 1px solid #ddd">
    {:W('Template/left')}
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href=''>财务管理</a>&gt;{$operatorInfo.name}下的交易明细</div>
        <div class="cTitle2">{$operatorInfo.name}下的交易明细</div>
        <empty name="info">
            <table class="cTable" width="100%">
                <tr>
                    <th>{$msg}</th>
                </tr>
            </table>
        </empty>
        <notempty name="info">
            <div class="main-search">
                <div class="top">
                    <form method="get" action="{:U('ProviderFinance/details',array('id'=>I('get.id'), 'oid' => I('get.oid')))}" class="form-inline">
                        <div class="form-group">
                            <input type="text" class="form-control" name="names" placeholder="请输入资金用途" value="{$name}"/>
                        </div>
                        <div class="form-group ml">
                            <label>时间：</label>
                            <input type="text" class="form-control ui-datepicker Wdate" name="start_time" placeholder="开始日期"
                                   value="{$startTime}" id="d4322" onclick="WdatePicker({el: $dp.$('d12')})"
                                   style="width:80%">
                        </div>
                        <span class="end">到</span>

                        <div class="form-group">
                            <label class="sr-only"></label>
                            <input type="text" class="form-control ui-datepicker Wdate" name="end_time" placeholder="结束日期"
                                   value="{$endTime}" id="d4322" onclick="WdatePicker({el: $dp.$('d12')})">
                        </div>
                        <button type="submit" class="btn btn-warning">查询</button>
                    </form>
                </div>
            </div>
            <table class="cTable table-hover" width="100%">

                <tr>
                    <th>编号</th>
                    <th>流水号</th>
                    <th>资金用途</th>
                    <th>运营商</th>
                    <th>提交时间</th>
                    <th>收入</th>
                    <th>支出</th>
                    <th>余额</th>
                </tr>

                <volist name="info" id="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.sn}</td>
                        <td>{$vo.action}</td>
                        <td>{$vo.operator_id|GetOperator}</td>
                        <td>{$vo.create_time}</td>
                        <td id="money-right">
                            <if condition="$vo.amount gt 0">￥{$vo.amount|GetYuan}</if>
                        </td>
                        <td id="money-right">
                            <if condition="$vo.amount lt 0">￥{$vo.amount|GetYuan}</if>
                        </td>
                        <td id="money-right">￥{$vo.balance|GetYuan}</td>
                    </tr>
                </volist>
            </table>
        </notempty>
        <notempty name="info">
            <div class="pagebox">
                {$page}
            </div>
        </notempty>
    </div>
</div>
{:W('Template/bottom')}
</body>
</html>
